/********************************************************************************
 *      Copyright:  (C) 2024 LingYun<iot25@lingyun>
 *                  All rights reserved.
 *
 *       Filename:  epoll_server.h
 *    Description:  This file 
 *
 *        Version:  1.0.0(12/12/24)
 *         Author:  LingYun <iot25@lingyun>
 *      ChangeLog:  1, Release initial version on "12/12/24 18:41:56"
 *                 
 ********************************************************************************/
#ifndef _EPOLL_SERVER_H
#define _EPOLL_SERVER_H

#include "epoll_server.h"

int	epoll_server_init(int MAX_EVENTS);
int epoll_server_add_fd(int epoll_fd,struct epoll_event event,int socket_fd,int events);
int epoll_server_remove_fd(int epoll_fd,int event_array_fd);
int epoll_server_wait(int epoll_fd,struct epoll_event *event_array,int MAX_EVENTS,int timeout);

#endif

